package cn.iocoder.yudao.module.esim.controller.app.esasset.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "用户 App - eSim资产 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppEsAssetRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19156")
    private String id;

    @Schema(description = "激活状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer activeState;

    @Schema(description = "订单流水号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String orderNo;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23841")
    private Long userId;

    @Schema(description = "SPU id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18522")
    private Integer spuId;

    @Schema(description = "SKU id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11306")
    private Integer skuId;

    @Schema(description = "eSim商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28739")
    private String esProductId;

    @Schema(description = "流量总量MB", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer totalDataSizeInMb;

    @Schema(description = "流量已使用量MB", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer usedDataSizeInMb;

    @Schema(description = "iccid", requiredMode = Schema.RequiredMode.REQUIRED)
    private String iccid;

    @Schema(description = "二维码解析后的文本", requiredMode = Schema.RequiredMode.REQUIRED)
    private String qrCodeText;

    @Schema(description = "esimart下单时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime esimartOrderDate;

    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime startDate;

    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime endDate;

    @Schema(description = "是否正在使用")
    private Boolean inUse;

    @Schema(description = "写入设备的日期")
    private LocalDateTime writtenToDeviceDate;

    @Schema(description = "设备类型")
    private Integer deviceType;

    @Schema(description = "设备imei")
    private String deviceImei;

    @Schema(description = "设备序列号")
    private String deviceSn;

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "激活时间")
    private LocalDateTime activeDate;

    @Schema(description = "暂停时间")
    private LocalDateTime pauseDate;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}